package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 车辆管理对象 sys_vehicle_administration
 * 
 * @author cyt
 * @date 2021-10-12
 */
public class SysVehicleAdministration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long vehicleId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 出发地 */
    @Excel(name = "出发地")
    private String origin;

    /** 目的地 */
    @Excel(name = "目的地")
    private String destination;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vehicleBeginTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vehicleEndTime;

    /** 驾驶人 */
    @Excel(name = "驾驶人")
    private String driver;

    /** 驾驶人电话 */
    @Excel(name = "驾驶人电话")
    private String driverPhone;

    /** 用车事由 */
    @Excel(name = "用车事由")
    private String remarks;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }
    public void setOrigin(String origin) 
    {
        this.origin = origin;
    }

    public String getOrigin() 
    {
        return origin;
    }
    public void setDestination(String destination) 
    {
        this.destination = destination;
    }

    public String getDestination() 
    {
        return destination;
    }
    public void setVehicleBeginTime(Date vehicleBeginTime) 
    {
        this.vehicleBeginTime = vehicleBeginTime;
    }

    public Date getVehicleBeginTime() 
    {
        return vehicleBeginTime;
    }
    public void setVehicleEndTime(Date vehicleEndTime) 
    {
        this.vehicleEndTime = vehicleEndTime;
    }

    public Date getVehicleEndTime() 
    {
        return vehicleEndTime;
    }
    public void setDriver(String driver) 
    {
        this.driver = driver;
    }

    public String getDriver() 
    {
        return driver;
    }
    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("deptId", getDeptId())
            .append("licensePlate", getLicensePlate())
            .append("origin", getOrigin())
            .append("destination", getDestination())
            .append("vehicleBeginTime", getVehicleBeginTime())
            .append("vehicleEndTime", getVehicleEndTime())
            .append("driver", getDriver())
            .append("driverPhone", getDriverPhone())
            .append("remarks", getRemarks())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
